Skip to main content

How to Generate Context on a Folder in VS Code

Step 1: Open the Folder in VS Code

Open folder in VS Code

First, open your project folder in Visual Studio Code. You should see the folder structure in the Explorer pane on the left side of the window. In this example, we can see a Node.js project with various files and folders.

Step 2: Generate High Level Context for the Folder

Generate high level context

  1. Right-click on the folder you want to generate context for in the Explorer pane.
  2. In the context menu that appears, scroll down to the bottom.
  3. Click on the option "Generate High Level Context for the Folder".

This action will create a high-level context document for the selected folder, providing an overview of its contents and structure. The generated context can be useful for understanding the project layout and main components at a glance.

Dev-Docs AI Bot

Circular button